export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  labelWidth: 100,
  selection: true,
  editBtnText: '反馈',
  viewBtn: true,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  searchMenuSpan: 6,
  "column": [{
    "type": "input",
    "label": "唯一标识",
    "prop": "id",
    hide: true,
    display: false,
  }, {
    "type": "select",
    "label": "线路",
    "prop": "lineCode",
    hide: true,
    disabled: true,
    cascaderItem: ["stationCode"],
    props: {
      label: 'name',
      value: 'code'
    },
    dicUrl: "/support/swparamline/dict",
  }, {
    "type": "select",
    "label": "站点",
    "prop": "stationCode",
    hide: true,
    disabled: true,
    dicFlag: false,
    props: {
      label: 'name',
      value: 'code'
    },
    dicUrl: "/support/swparamstation/dict/{{key}}",
  }, {
    "type": "select",
    "label": "设备类型",
    "prop": "machineType",
    dicUrl: '/admin/dict/type/epm_ex_ticket_operation_machine',
    disabled: true,
  }, {
    "type": "input",
    "label": "设备编号",
    "prop": "machineCode",
    disabled: true,
  }, {
    "type": "select",
    "label": "车站人员",
    "prop": "stationPersonCode",
    props: {
      label: 'nikename',
      value: 'userCode'
    },
    dicUrl: `/admin/user/page/byStation`,
    search: true,
    hide: true,
    display: false,
    rules: [{
      required: true,
      message: '请选择车站人员'
    }]
  }, {
    "type": "select",
    "label": "车站人员",
    "prop": "stationPersonName",
    // search:true,
    // props: {
    //   label: 'nikename',
    //   value: 'userCode'
    // },
    // dicUrl: `/admin/user/page/byStation`,
    hide: true,
    disabled:true
  },	  {
    "type": "input",
    "label": "员工号",
    "prop": "stationPersonCode",
    disabled:true,
  }, {
    "type": "number",
    "label": "涉及金额",
    "prop": "involveMonet",
    precision: 2,
    disabled: true,
  },{
    "type": "date",
    "label": "通知时间",
    "prop": "noticeTime",
    display: false,
    format: "yyyy-MM-dd",
    valueFormat: "yyyy-MM-dd",
    search: true,
    searchRange: true,
    searchSpan: 12,
    width: 90
  }, {
    "type": "number",
    "label": "反馈期限(天)",
    "prop": "backTimeLimit",
    disabled: true,
    width: 90
  }, {
    "type": "datetime",
    "label": "反馈时间",
    "prop": "backTime",
    //hide: true,
    //display: false
    disabled: true,
    width: 90
  }, {
    "type": "select",
    "label": "通知状态",
    "prop": "noticeStatus",
    hide: true,
    //search: true,
    display: false,
    dicUrl: '/admin/dict/type/epm_ex_ticket_operation_notice',
  }, {
    "type": "select",
    "label": "发送短款状态",
    "prop": "sendShortStatus",
    hide: true,
    display: false
  }, {
    "type": "select",
    "label": "反馈状态",
    "prop": "backStatus",
    display: false,
    search: true,
    searchValue:'0',
    dicUrl: '/admin/dict/type/epm_ex_ticket_operation_back',
  }, {
    "type": "upload",
    "label": "附件",
    "prop": "file",
    component: 'zd-upload',
    dataType: 'string',
    limit: 1,
    hide: true,
    span: 24,
  }, {
    "type": "upload",
    "label": "图片",
    "prop": "picture",
    component: 'zd-upload',
    listType: 'picture-img',
    hide: true,
    span: 24,
    addDisplay: false,
  }, {
    "type": "textarea",
    "label": "差异描述",
    "prop": "diffCase",
    span: 24,
    width: '240px',
    disabled: true,
  }, {
    "type": "textarea",
    "label": "反馈结果",
    "prop": "backResult",
    addDisplay: false,
    span: 24,
    width: '240px',
    rules: [{
      required: true,
      message: '请输入反馈结果'
    }]
  }, {
    "type": "input",
    "label": "部门id",
    "prop": "deptId",
    hide: true,
    display: false,
  }, {
    "type": "input",
    "label": "创建人id",
    "prop": "creatorId",
    hide: true,
    display: false,
  }, {
    "type": "input",
    "label": "创建人",
    "prop": "creatorName",
    hide: true,
    display: false,
  }, {
    "type": "input",
    "label": "创建时间",
    "prop": "createTime",
    hide: true,
    display: false,
  }, {
    "type": "input",
    "label": "修改时间",
    "prop": "updateTime",
    hide: true,
    display: false,
  }]
}
